Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 292381
b: refs/heads/master
c: 8818739
h: refs/heads/master
i:
  292379: bc50361
v: v3
  • Loading branch information
Al Viro committed Mar 21, 2012
1 parent 9417f99 commit 08b5ea0
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a051f71ce97c53cde3ac64de64eb02d658d9308e
refs/heads/master: 88187398cc5fa6650f38b9dcd5464667f468888f
2 changes: 1 addition & 1 deletion trunk/Documentation/filesystems/debugfs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ file.
void __iomem *base;
};

struct dentry *debugfs_create_regset32(const char *name, mode_t mode,
struct dentry *debugfs_create_regset32(const char *name, umode_t mode,
struct dentry *parent,
struct debugfs_regset32 *regset);

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/mmc/card/block.c
Original file line number Diff line number Diff line change
Expand Up @@ -1685,7 +1685,7 @@ static int mmc_add_disk(struct mmc_blk_data *md)

if ((md->area_type & MMC_BLK_DATA_AREA_BOOT) &&
card->ext_csd.boot_ro_lockable) {
mode_t mode;
umode_t mode;

if (card->ext_csd.boot_ro_lock & EXT_CSD_BOOT_WP_B_PWR_WP_DIS)
mode = S_IRUGO;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/ethernet/brocade/bna/bnad_debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ static const struct file_operations bnad_debugfs_op_drvinfo = {

struct bnad_debugfs_entry {
const char *name;
mode_t mode;
umode_t mode;
const struct file_operations *fops;
};

Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/debugfs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ static const struct file_operations fops_regset32 = {
* %NULL or !%NULL instead as to eliminate the need for #ifdef in the calling
* code.
*/
struct dentry *debugfs_create_regset32(const char *name, mode_t mode,
struct dentry *debugfs_create_regset32(const char *name, umode_t mode,
struct dentry *parent,
struct debugfs_regset32 *regset)
{
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/nfsd/fault_inject.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ int nfsd_fault_inject_init(void)
{
unsigned int i;
struct nfsd_fault_inject_op *op;
mode_t mode = S_IFREG | S_IRUSR | S_IWUSR;
umode_t mode = S_IFREG | S_IRUSR | S_IWUSR;

debug_dir = debugfs_create_dir("nfsd", NULL);
if (!debug_dir)
Expand Down
4 changes: 2 additions & 2 deletions trunk/include/linux/debugfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ struct dentry *debugfs_create_blob(const char *name, umode_t mode,
struct dentry *parent,
struct debugfs_blob_wrapper *blob);

struct dentry *debugfs_create_regset32(const char *name, mode_t mode,
struct dentry *debugfs_create_regset32(const char *name, umode_t mode,
struct dentry *parent,
struct debugfs_regset32 *regset);

Expand Down Expand Up @@ -208,7 +208,7 @@ static inline struct dentry *debugfs_create_blob(const char *name, umode_t mode,
}

static inline struct dentry *debugfs_create_regset32(const char *name,
mode_t mode, struct dentry *parent,
umode_t mode, struct dentry *parent,
struct debugfs_regset32 *regset)
{
return ERR_PTR(-ENODEV);
Expand Down

0 comments on commit 08b5ea0

Please sign in to comment.