Re: [PATCH 3/7] omfs: add directory routines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> +static int omfs_readdir(struct file *filp, void *dirent, filldir_t filldir)
> +{
> +	struct inode *dir = filp->f_dentry->d_inode;
> +	struct buffer_head *bh = NULL;

> +	if (filp->f_pos >> 32)
> +		goto success;

f_pos may be 32bit in which case >> 32 does not have defined behaviour in
C.


Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux